o1-mini-2024-09-12· OpenAI WildChat-4.8M (AI2)
can you make this sites background all purple and like the good looking purple very…
- User
can you make this sites background all purple and like the good looking purple very modern and stuff
/* Body Styling */ body { font-family: 'Roboto', sans-serif; line-height: 1.6; color: #333; background-color: #f4f4f4; /* Remove default smooth scrolling to implement custom scroll */ scroll-behavior: auto; } /* Container */ .container { width: 90%; max-width: 1200px; margin: auto; padding: 20px 0; } /* Header Styling */ header { background: linear-gradient(135deg, #6b73ff, #000dff); color: white; padding: 40px 0; text-align: center; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; } /* Header Text */ header h1 { font-family: 'Montserrat', sans-serif; font-size: 3em; margin-bottom: 10px; animation: slideInDown 1s ease-out; } header p { font-size: 1.5em; opacity: 0.9; margin-bottom: 30px; animation: slideInUp 1s ease-out; } /* Header Button Group */ .button-group { display: flex; gap: 15px; flex-wrap: wrap; justify-content: center; animation: fadeIn 1s ease-in-out; } /* Button Styling */ .button-group a, .button-group button { background-color: #fff; color: #000dff; border: none; padding: 15px 20px; border-radius: 50px; cursor: pointer; font-weight: bold; transition: background-color 0.3s, color 0.3s, transform 0.3s; text-decoration: none; position: relative; overflow: hidden; display: inline-block; } /* Ripple Effect for Buttons */ .button-group a::after, .button-group button::after { content: ''; position: absolute; top: 50%; left: 50%; width: 300%; height: 300%; background: rgba(0, 13, 255, 0.15); transition: all 0.75s; border-radius: 50%; z-index: -1; transform: translate(-50%, -50%) scale(0); } /* Hover Effects for Buttons */ .button-group a:hover::after, .button-group button:hover::after { transform: translate(-50%, -50%) scale(1); } .button-group a:hover, .button-group button:hover { background-color: #000dff; color: #fff; transform: translateY(-3px); } /* Models Section */ .models-section { padding: 60px 0; background-color: white; } .models-section h2 { text-align: center; margin-bottom: 40px; font-size: 2.5em; color: #333; animation: fadeIn 1s ease-in-out; } .models-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; } .model-card { background: #ffffff; border: 1px solid #e0e0e0; border-radius: 15px; padding: 30px 20px; transition: transform 0.3s, box-shadow 0.3s, opacity 0.6s, transform 0.6s; text-align: center; position: relative; overflow: hidden; opacity: 0; transform: translateY(20px); animation: fadeInUp 1s forwards; } /* Staggered Animation for Model Cards */ .model-card:nth-child(1) { animation-delay: 0.2s; } .model-card:nth-child(2) { animation-delay: 0.4s; } .model-card:nth-child(3) { animation-delay: 0.6s; } .model-card::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: rgba(107, 115, 255, 0.1); transform: rotate(45deg); z-index: 0; } .model-card h3 { margin-bottom: 15px; color: #000dff; z-index: 1; position: relative; } .model-card p { color: #555; line-height: 1.5; z-index: 1; position: relative; } .model-card:hover { transform: translateY(-10px); box-shadow: 0 10px 25px rgba(0,0,0,0.15); } /* Pricing Section */ .pricing-section { padding: 60px 0; background-color: #f9f9f9; } .pricing-section h2 { text-align: center; margin-bottom: 40px; font-size: 2.5em; color: #333; animation: fadeIn 1s ease-in-out; } .pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; } .plan-card { background: #ffffff; border: 1px solid #e0e0e0; border-radius: 15px; padding: 30px 20px; text-align: center; transition: transform 0.3s, box-shadow 0.3s, opacity 0.6s, transform 0.6s; position: relative; overflow: hidden; opacity: 0; transform: translateY(20px); animation: fadeInUp 1s forwards; } /* Staggered Animation for Pricing Cards */ .plan-card:nth-child(1) { animation-delay: 0.2s; } .plan-card:nth-child(2) { animation-delay: 0.4s; } .plan-card:nth-child(3) { animation-delay: 0.6s; } .plan-card::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: rgba(107, 115, 255, 0.05); transform: rotate(45deg); z-index: 0; } .plan-card h3 { margin-bottom: 10px; font-size: 1.8em; color: #000dff; z-index: 1; position: relative; } .price { font-size: 2em; margin: 20px 0; color: #333; z-index: 1; position: relative; } .price span { font-size: 0.6em; color: #666; } .features { text-align: left; margin-bottom: 20px; list-style: none; z-index: 1; position: relative; } .features li { margin-bottom: 10px; padding-left: 25px; position: relative; } .features li::before { content: "✔️"; position: absolute; left: 0; color: #28a745; } /* Highlighted Plan (Pro) */ .recommended { border: 2px solid #000dff; background-color: #f0f4ff; } .recommended h3 { color: #000dff; } /* Pricing Buttons */ .pricing-button-plan { display: inline-block; background-color: #000dff; color: #fff; border: none; padding: 12px 25px; border-radius: 25px; cursor: pointer; font-weight: bold; text-decoration: none; transition: background-color 0.3s, color 0.3s, transform 0.3s; position: relative; overflow: hidden; } .pricing-button-plan::after { content: ''; position: absolute; top: 50%; left: 50%; width: 300%; height: 300%; background: rgba(0, 13, 255, 0.15); transition: all 0.75s; border-radius: 50%; z-index: -1; transform: translate(-50%, -50%) scale(0); } .pricing-button-plan:hover::after { transform: translate(-50%, -50%) scale(1); } .pricing-button-plan:hover { background-color: #fff; color: #000dff; border: 1px solid #000dff; transform: translateY(-3px); } /* Adjust button styles for recommended plan */ .recommended .pricing-button-plan { background-color: #28a745; } .recommended .pricing-button-plan:hover { background-color: #fff; color: #28a745; border: 1px solid #28a745; } /* Footer Styling */ footer { background-color: #333; color: #fff; text-align: center; padding: 20px 0; margin-top: 60px; } /* Animations */ @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes slideInDown { from { transform: translateY(-20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } @keyframes slideInUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } /* Responsive Typography */ @media (max-width: 768px) { header h1 { font-size: 2.5em; } header p { font-size: 1.2em; } .models-section h2, .pricing-section h2 { font-size: 2em; } .button-group a, .button-group button { padding: 12px 20px; font-size: 0.9em; } .plan-card h3 { font-size: 1.5em; } .price { font-size: 1.5em; } .pricing-button-plan { padding: 10px 20px; font-size: 0.9em; } } @media (max-width: 480px) { header h1 { font-size: 2em; } header p { font-size: 1em; } .models-section h2, .pricing-section h2 { font-size: 1.5em; } .button-group a, .button-group button { padding: 10px 16px; font-size: 0.8em; } .plan-card h3 { font-size: 1.2em; } .price { font-size: 1.2em; } .pricing-button-plan { padding: 8px 16px; font-size: 0.8em; } } </style><!-- Header Section --> <header> <div class="container"> <!-- Removed Logo Image --> <h1>Welcome to Zanity API</h1> <p>Revolutionising AI</p> <!-- Button Group --> <div class="button-group"> <button class="pricing-button">Pricing</button> <a href="https://api.zanity.net/docs" class="docs-button">Docs</a> <a href="https://api.zanity.net/playground" class="playground-button" target="_blank" rel="noopener noreferrer">Playground</a> <a href="https://discord.gg/4DRjqaFkhd" class="discord-button" target="_blank" rel="noopener noreferrer">Discord</a> </div> </div> </header> <!-- Models Section --> <section class="models-section" id="models-section"> <div class="container"> <h2>Access The Top AI Models</h2> <div class="models-grid"> <!-- GPT o1 Card --> <div class="model-card"> <h3>GPT o1</h3> <p>Experience the power of the latest generation language model with advanced natural language understanding and generation capabilities.</p> </div> <!-- Claude 3.5-Sonnet Card --> <div class="model-card"> <h3>Claude 3.5-Sonnet</h3> <p>Benefit from a versatile conversational AI that excels in maintaining context and providing accurate, insightful responses.</p> </div> <!-- Gemini Card --> <div class="model-card"> <h3>Gemini</h3> <p>Unlock innovative solutions with a model designed for complex problem-solving and enhanced AI integration.</p> </div> <!-- Additional Model Cards (Optional) --> <!-- <div class="model-card"> <h3>Model Name</h3> <p>Brief description of the model's capabilities.</p> </div> --> </div> </div> </section> <!-- Pricing Section --> <section class="pricing-section" id="pricing-section"> <div class="container"> <h2>Pricing Plans</h2> <div class="pricing-grid"> <!-- Basic Plan --> <div class="plan-card"> <h3>Basic Plan</h3> <p class="price">€0<span> / month</span></p> <ul class="features"> <li>5 requests per minute</li> <li>1 IP address</li> <li>500 requests daily limit</li> <li>Access to some models</li> </ul> <a href="https://discord.gg/4DRjqaFkhd" class="pricing-button-plan">Get Started</a> </div> <!-- Pro Plan (Recommended) --> <div class="plan-card recommended"> <h3>Pro Plan</h3> <p class="price">€10<span> / month</span></p> <ul class="features"> <li>15 requests per minute</li> <li>5 IP addresses</li> <li>2000 requests daily limit</li> <li>Access to all models</li> </ul> <a href="https://ko-fi.com/voidi/tiers" class="pricing-button-plan">Get Started</a> </div> <!-- Enterprise Plan --> <div class="plan-card"> <h3>Enterprise Plan</h3> <p class="price">€20+<span> / month</span></p> <ul class="features"> <li>Custom requests per minute</li> <li>Custom IP addresses</li> <li>Custom requests daily limit</li> <li>Access to all models</li> <li>Early access to new models</li> <li>Access to o1 and o1-mini</li> </ul> <a href="https://discord.gg/9Xz2gY6KSv" class="pricing-button-plan">Contact Us</a> </div> </div> </div> </section> <!-- Footer Section --> <footer> <div class="container"> <p>© 2024 Zanity API. All rights reserved.</p> </div> </footer> <!-- Optional JavaScript for Custom Scroll Animation --> <script> // Get the pricing button and the pricing section const pricingButton = document.querySelector('.pricing-button'); const pricingSection = document.getElementById('pricing-section'); // Function to perform smooth scroll with easing function smoothScroll(target, duration) { const targetPosition = target.getBoundingClientRect().top + window.pageYOffset; const startPosition = window.pageYOffset; const distance = targetPosition - startPosition; let startTime = null; function animation(currentTime) { if (startTime === null) startTime = currentTime; const timeElapsed = currentTime - startTime; const run = ease(timeElapsed, startPosition, distance, duration); window.scrollTo(0, run); if (timeElapsed < duration) requestAnimationFrame(animation); } // Ease function (easeInOutCubic) function ease(t, b, c, d) { t /= d/2; if (t < 1) return c/2*t*t*t + b; t -= 2; return c/2*(t*t*t + 2) + b; } requestAnimationFrame(animation); } // Event listener for pricing button pricingButton.addEventListener('click', (e) => { e.preventDefault(); smoothScroll(pricingSection, 1000); // Scroll over 1 second }); // Optional: Highlight the pricing button when the pricing section is in view window.addEventListener('scroll', () => { const sectionTop = pricingSection.getBoundingClientRect().top; const sectionBottom = pricingSection.getBoundingClientRect().bottom; if (sectionTop <= 100 && sectionBottom >= 100) { pricingButton.style.backgroundColor = '#000dff'; pricingButton.style.color = '#fff'; } else { pricingButton.style.backgroundColor = '#fff'; pricingButton.style.color = '#000dff'; } }); </script> - Assistant
Sure! I can help you redesign your website with a modern purple theme. I'll update the CSS to apply a cohesive purple palette across the entire site, ensuring a sleek and contemporary look. Below is the revised HTML code with enhanced purple styling:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Sanity API - Welcome & Pricing</title> <!-- Google Fonts for Modern Typography --> <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Montserrat:wght@600&display=swap" rel="stylesheet"> <style> /* Reset some default styles */ * { margin: 0; padding: 0; box-sizing: border-box; } /* Body Styling */ body { font-family: 'Roboto', sans-serif; line-height: 1.6; color: #f0f0f0; background-color: #2c2c54; /* Dark Purple Background */ /* Remove default smooth scrolling to implement custom scroll */ scroll-behavior: auto; } /* Container */ .container { width: 90%; max-width: 1200px; margin: auto; padding: 20px 0; } /* Header Styling */ header { background: linear-gradient(135deg, #6a11cb, #2575fc); /* Modern Purple Gradient */ color: white; padding: 60px 0; text-align: center; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; } /* Header Text */ header h1 { font-family: 'Montserrat', sans-serif; font-size: 3em; margin-bottom: 10px; animation: slideInDown 1s ease-out; color: #ffffff; } header p { font-size: 1.5em; opacity: 0.9; margin-bottom: 30px; animation: slideInUp 1s ease-out; color: #e0e0e0; } /* Header Button Group */ .button-group { display: flex; gap: 15px; flex-wrap: wrap; justify-content: center; animation: fadeIn 1s ease-in-out; } /* Button Styling */ .button-group a, .button-group button { background-color: #8777d9; /* Soft Purple */ color: #ffffff; border: none; padding: 15px 20px; border-radius: 50px; cursor: pointer; font-weight: bold; transition: background-color 0.3s, color 0.3s, transform 0.3s; text-decoration: none; position: relative; overflow: hidden; display: inline-block; } /* Ripple Effect for Buttons */ .button-group a::after, .button-group button::after { content: ''; position: absolute; top: 50%; left: 50%; width: 300%; height: 300%; background: rgba(135, 119, 217, 0.15); transition: all 0.75s; border-radius: 50%; z-index: -1; transform: translate(-50%, -50%) scale(0); } /* Hover Effects for Buttons */ .button-group a:hover::after, .button-group button:hover::after { transform: translate(-50%, -50%) scale(1); } .button-group a:hover, .button-group button:hover { background-color: #ffffff; color: #6a11cb; transform: translateY(-3px); } /* Models Section */ .models-section { padding: 60px 0; background-color: #3a3a60; /* Slightly Lighter Purple */ } .models-section h2 { text-align: center; margin-bottom: 40px; font-size: 2.5em; color: #ffffff; animation: fadeIn 1s ease-in-out; } .models-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; } .model-card { background: #4b4b82; /* Card Background Purple */ border: 1px solid #6a11cb; border-radius: 15px; padding: 30px 20px; transition: transform 0.3s, box-shadow 0.3s, opacity 0.6s, transform 0.6s; text-align: center; position: relative; overflow: hidden; opacity: 0; transform: translateY(20px); animation: fadeInUp 1s forwards; } /* Staggered Animation for Model Cards */ .model-card:nth-child(1) { animation-delay: 0.2s; } .model-card:nth-child(2) { animation-delay: 0.4s; } .model-card:nth-child(3) { animation-delay: 0.6s; } .model-card::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: rgba(106, 17, 203, 0.1); transform: rotate(45deg); z-index: 0; } .model-card h3 { margin-bottom: 15px; color: #ffffff; z-index: 1; position: relative; } .model-card p { color: #dcdcdc; line-height: 1.5; z-index: 1; position: relative; } .model-card:hover { transform: translateY(-10px); box-shadow: 0 10px 25px rgba(0,0,0,0.25); } /* Pricing Section */ .pricing-section { padding: 60px 0; background-color: #2c2c54; /* Darker Purple */ } .pricing-section h2 { text-align: center; margin-bottom: 40px; font-size: 2.5em; color: #ffffff; animation: fadeIn 1s ease-in-out; } .pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; } .plan-card { background: #4b4b82; /* Card Background Purple */ border: 1px solid #6a11cb; border-radius: 15px; padding: 30px 20px; text-align: center; transition: transform 0.3s, box-shadow 0.3s, opacity 0.6s, transform 0.6s; position: relative; overflow: hidden; opacity: 0; transform: translateY(20px); animation: fadeInUp 1s forwards; } /* Staggered Animation for Pricing Cards */ .plan-card:nth-child(1) { animation-delay: 0.2s; } .plan-card:nth-child(2) { animation-delay: 0.4s; } .plan-card:nth-child(3) { animation-delay: 0.6s; } .plan-card::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: rgba(106, 17, 203, 0.05); transform: rotate(45deg); z-index: 0; } .plan-card h3 { margin-bottom: 10px; font-size: 1.8em; color: #ffffff; z-index: 1; position: relative; } .price { font-size: 2em; margin: 20px 0; color: #ffffff; z-index: 1; position: relative; } .price span { font-size: 0.6em; color: #dcdcdc; } .features { text-align: left; margin-bottom: 20px; list-style: none; z-index: 1; position: relative; } .features li { margin-bottom: 10px; padding-left: 25px; position: relative; color: #e0e0e0; } .features li::before { content: "✔️"; position: absolute; left: 0; color: #28a745; } /* Highlighted Plan (Pro) */ .recommended { border: 2px solid #6a11cb; background-color: #5a3fdc; } .recommended h3 { color: #ffffff; } /* Pricing Buttons */ .pricing-button-plan { display: inline-block; background-color: #6a11cb; color: #ffffff; border: none; padding: 12px 25px; border-radius: 25px; cursor: pointer; font-weight: bold; text-decoration: none; transition: background-color 0.3s, color 0.3s, transform 0.3s; position: relative; overflow: hidden; } .pricing-button-plan::after { content: ''; position: absolute; top: 50%; left: 50%; width: 300%; height: 300%; background: rgba(106, 17, 203, 0.15); transition: all 0.75s; border-radius: 50%; z-index: -1; transform: translate(-50%, -50%) scale(0); } .pricing-button-plan:hover::after { transform: translate(-50%, -50%) scale(1); } .pricing-button-plan:hover { background-color: #ffffff; color: #6a11cb; border: 1px solid #6a11cb; transform: translateY(-3px); } /* Adjust button styles for recommended plan */ .recommended .pricing-button-plan { background-color: #28a745; } .recommended .pricing-button-plan:hover { background-color: #ffffff; color: #28a745; border: 1px solid #28a745; } /* Footer Styling */ footer { background-color: #1a1a2e; color: #f0f0f0; text-align: center; padding: 20px 0; margin-top: 60px; } /* Animations */ @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes slideInDown { from { transform: translateY(-20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } @keyframes slideInUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } /* Responsive Typography */ @media (max-width: 768px) { header h1 { font-size: 2.5em; } header p { font-size: 1.2em; } .models-section h2, .pricing-section h2 { font-size: 2em; } .button-group a, .button-group button { padding: 12px 20px; font-size: 0.9em; } .plan-card h3 { font-size: 1.5em; } .price { font-size: 1.5em; } .pricing-button-plan { padding: 10px 20px; font-size: 0.9em; } } @media (max-width: 480px) { header h1 { font-size: 2em; } header p { font-size: 1em; } .models-section h2, .pricing-section h2 { font-size: 1.5em; } .button-group a, .button-group button { padding: 10px 16px; font-size: 0.8em; } .plan-card h3 { font-size: 1.2em; } .price { font-size: 1.2em; } .pricing-button-plan { padding: 8px 16px; font-size: 0.8em; } } </style> </head> <body> <!-- Header Section --> <header> <div class="container"> <!-- Removed Logo Image --> <h1>Welcome to Zanity API</h1> <p>Revolutionising AI</p> <!-- Button Group --> <div class="button-group"> <button class="pricing-button">Pricing</button> <a href="https://api.zanity.net/docs" class="docs-button">Docs</a> <a href="https://api.zanity.net/playground" class="playground-button" target="_blank" rel="noopener noreferrer">Playground</a> <a href="https://discord.gg/4DRjqaFkhd" class="discord-button" target="_blank" rel="noopener noreferrer">Discord</a> </div> </div> </header> <!-- Models Section --> <section class="models-section" id="models-section"> <div class="container"> <h2>Access The Top AI Models</h2> <div class="models-grid"> <!-- GPT o1 Card --> <div class="model-card"> <h3>GPT o1</h3> <p>Experience the power of the latest generation language model with advanced natural language understanding and generation capabilities.</p> </div> <!-- Claude 3.5-Sonnet Card --> <div class="model-card"> <h3>Claude 3.5-Sonnet</h3> <p>Benefit from a versatile conversational AI that excels in maintaining context and providing accurate, insightful responses.</p> </div> <!-- Gemini Card --> <div class="model-card"> <h3>Gemini</h3> <p>Unlock innovative solutions with a model designed for complex problem-solving and enhanced AI integration.</p> </div> <!-- Additional Model Cards (Optional) --> <!-- <div class="model-card"> <h3>Model Name</h3> <p>Brief description of the model's capabilities.</p> </div> --> </div> </div> </section> <!-- Pricing Section --> <section class="pricing-section" id="pricing-section"> <div class="container"> <h2>Pricing Plans</h2> <div class="pricing-grid"> <!-- Basic Plan --> <div class="plan-card"> <h3>Basic Plan</h3> <p class="price">€0<span> / month</span></p> <ul class="features"> <li>5 requests per minute</li> <li>1 IP address</li> <li>500 requests daily limit</li> <li>Access to some models</li> </ul> <a href="https://discord.gg/4DRjqaFkhd" class="pricing-button-plan">Get Started</a> </div> <!-- Pro Plan (Recommended) --> <div class="plan-card recommended"> <h3>Pro Plan</h3> <p class="price">€10<span> / month</span></p> <ul class="features"> <li>15 requests per minute</li> <li>5 IP addresses</li> <li>2000 requests daily limit</li> <li>Access to all models</li> </ul> <a href="https://ko-fi.com/voidi/tiers" class="pricing-button-plan">Get Started</a> </div> <!-- Enterprise Plan --> <div class="plan-card"> <h3>Enterprise Plan</h3> <p class="price">€20+<span> / month</span></p> <ul class="features"> <li>Custom requests per minute</li> <li>Custom IP addresses</li> <li>Custom requests daily limit</li> <li>Access to all models</li> <li>Early access to new models</li> <li>Access to o1 and o1-mini</li> </ul> <a href="https://discord.gg/9Xz2gY6KSv" class="pricing-button-plan">Contact Us</a> </div> </div> </div> </section> <!-- Footer Section --> <footer> <div class="container"> <p>© 2024 Zanity API. All rights reserved.</p> </div> </footer> <!-- Optional JavaScript for Custom Scroll Animation --> <script> // Get the pricing button and the pricing section const pricingButton = document.querySelector('.pricing-button'); const pricingSection = document.getElementById('pricing-section'); // Function to perform smooth scroll with easing function smoothScroll(target, duration) { const targetPosition = target.getBoundingClientRect().top + window.pageYOffset; const startPosition = window.pageYOffset; const distance = targetPosition - startPosition; let startTime = null; function animation(currentTime) { if (startTime === null) startTime = currentTime; const timeElapsed = currentTime - startTime; const run = ease(timeElapsed, startPosition, distance, duration); window.scrollTo(0, run); if (timeElapsed < duration) requestAnimationFrame(animation); } // Ease function (easeInOutCubic) function ease(t, b, c, d) { t /= d/2; if (t < 1) return c/2*t*t*t + b; t -= 2; return c/2*(t*t*t + 2) + b; } requestAnimationFrame(animation); } // Event listener for pricing button pricingButton.addEventListener('click', (e) => { e.preventDefault(); smoothScroll(pricingSection, 1000); // Scroll over 1 second }); // Optional: Highlight the pricing button when the pricing section is in view window.addEventListener('scroll', () => { const sectionTop = pricingSection.getBoundingClientRect().top; const sectionBottom = pricingSection.getBoundingClientRect().bottom; if (sectionTop <= 100 && sectionBottom >= 100) { pricingButton.style.backgroundColor = '#6a11cb'; pricingButton.style.color = '#ffffff'; } else { pricingButton.style.backgroundColor = '#8777d9'; pricingButton.style.color = '#ffffff'; } }); </script> </body> </html>Changes and Enhancements:
-
Color Palette:
- Background: Changed to a dark purple (
#2c2c54) to create a rich and modern base. - Header Gradient: Updated to a combination of deep purple (
#6a11cb) and vibrant blue (#2575fc) for a striking gradient effect. - Text Colors: Lightened text colors to ensure readability against the dark background.
- Buttons: Utilized soft and vibrant purples (
#8777d9and#6a11cb) with white text for contrast. Hover effects invert the colors for interactivity.
- Background: Changed to a dark purple (
-
Sections:
- Models and Pricing Sections: Applied varying shades of purple to differentiate sections while maintaining consistency.
- Cards: Model and pricing cards have a distinct purple background with subtle borders to stand out.
-
Buttons:
- Ripple Effect: Maintained the ripple effect but adjusted colors to match the new palette.
- Hover Effects: Enhanced with smoother transitions and color changes to white or highlighted purple.
-
Footer:
- Changed to a darker shade (
#1a1a2e) to complement the overall theme and provide a clear separation from the main content.
- Changed to a darker shade (
-
Typography:
- Ensured all text remains legible by using lighter shades against the dark backgrounds.
-
Responsive Design:
- Maintained responsive typography and layouts to ensure the site looks great on all devices.
Additional Recommendations:
- Consistency: Ensure that all interactive elements (buttons, links) follow the chosen color scheme for a cohesive look.
- Accessibility: Verify that color contrasts meet accessibility standards for users with visual impairments. Tools like WebAIM Contrast Checker can be helpful.
- Visual Hierarchy: Use different shades or weights of purple to establish a clear hierarchy, guiding users’ attention to key areas like headings and call-to-action buttons.
- Imagery: Consider incorporating images or icons with complementary colors to enhance visual interest without clashing with the purple theme.
Feel free to tweak the color codes to better match your brand or preference. If you have any specific shade of purple in mind or additional design elements you'd like to incorporate, let me know!
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.