:root { --primary-color: #6366f1; --secondary-color: #818cf8; --background: #ffffff; --text-primary: #1f2937; --text-secondary: #4b5563; --card-background: rgba(255, 255, 255, 0.8); } [data-theme="dark"] { --background: #0f172a; --text-primary: #f1f5f9; --text-secondary: #cbd5e1; --card-background: rgba(30, 41, 59, 0.8); } * { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; } body { font-family: 'Inter', system-ui, sans-serif; background: var(--background); color: var(--text-primary); line-height: 1.6; transition: background-color 0.3s, color 0.3s; margin: 0; padding: 0; min-height: 100vh; width: 100%; } /* Header & Navigation */ header { background: var(--card); position: sticky; top: 0; z-index: 100; backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); } nav { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; } .logo-container { display: flex; align-items: center; gap: 0.75rem; } .nav-logo { width: 32px; /* Adjust size as needed */ height: 32px; object-fit: contain; } .nav-brand { font-size: 1.25rem; font-weight: 600; color: var(--text-primary); } .nav-links { display: flex; align-items: center; gap: 2rem; } .nav-links a { color: var(--text-primary); text-decoration: none; font-weight: 500; transition: color 0.2s; } .nav-links a:hover { color: var(--primary-color); } .theme-toggle { background: transparent; border: none; cursor: pointer; padding: 0.5rem; color: var(--text-primary); } /* Theme Toggle */ .theme-toggle { background: none; border: none; color: var(--text); cursor: pointer; padding: 0.5rem; border-radius: 50%; transition: background-color 0.2s; } .theme-toggle:hover { background: var(--hover); } /* Main Content */ main { max-width: 1200px; margin: 0 auto; padding: 2rem; padding-top: 64px; min-height: 100vh; display: flex; flex-direction: column; width: 100%; /* Should match the height of your nav */ } /* Sections */ section { margin: 6rem 0; scroll-margin-top: 5rem; } /* Hero Section */ .hero { display: flex; align-items: center; padding: 4rem 2rem; margin-top: 64px; /* Account for fixed header */ } .hero-content { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; } .hero-text { max-width: 540px; } .gradient-text { font-size: 3rem; font-weight: 800; line-height: 1.2; margin-bottom: 1rem; } .hero-subtitle { font-size: 1.125rem; color: var(--text-secondary); margin-bottom: 1.5rem; } .hero-cta { display: flex; gap: 1rem; margin-bottom: 1.5rem; } .hero-image { width: 100%; } .floating-screenshot { width: 100%; height: auto; max-width: 600px; border-radius: 12px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); animation: float 6s ease-in-out infinite; } .tech-stack { display: flex; gap: 0.75rem; flex-wrap: wrap; } /* Responsive design */ @media (max-width: 1024px) { .hero { padding: 3rem 1.5rem; } .hero-content { grid-template-columns: 1fr; gap: 2rem; text-align: center; } .hero-text { margin: 0 auto; } .hero-cta { justify-content: center; } .tech-stack { justify-content: center; } .gradient-text { font-size: 3rem; } } @media (max-width: 640px) { .hero { padding: 1rem; } .gradient-text { font-size: 2.5rem; } .hero-cta { flex-direction: column; } } .logo { width: 120px; height: 120px; margin-bottom: 1rem; transition: transform 0.3s; } .logo:hover { transform: scale(1.05); } .badges { display: flex; gap: 0.5rem; justify-content: center; /* Centered only on tablets and smaller screens */ @media (min-width: 1024px) { justify-content: flex-start; /* Align to the start on larger screens */ } margin-top: 1rem; } .badge { background: var(--primary); color: white; padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.875rem; } /* Features */ .feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 2rem; } .feature { background: var(--card); padding: 2rem; border-radius: 12px; transition: transform 0.2s; border: 1px solid var(--border); } .feature:hover { transform: translateY(-4px); } /* Download Section */ .download-options { display: flex; gap: 1rem; justify-content: center; margin: 2rem 0; flex-wrap: wrap; } .download-button { background: var(--primary-color); color: white; padding: 1rem 2rem; border-radius: 8px; text-decoration: none; display: flex; align-items: center; gap: 0.5rem; transition: all 0.2s; position: relative; } .download-button:hover { transform: translateY(-2px); background: var(--secondary-color); } .download-button .icon { font-size: 1.5rem; } .button-text { display: flex; flex-direction: column; } .button-text .primary { font-weight: 600; } .button-text .secondary { font-size: 0.875rem; opacity: 0.8; } /* Primary button style (can be used for other buttons too) */ .primary-button { background: var(--primary-color); color: white; padding: 0.75rem 1.5rem; border-radius: 8px; text-decoration: none; font-weight: 500; transition: all 0.2s; } .primary-button:hover { background: var(--secondary-color); transform: translateY(-2px); } /* Secondary button style */ .secondary-button { background: rgba(99, 102, 241, 0.1); color: var(--primary-color); padding: 0.75rem 1.5rem; border-radius: 8px; text-decoration: none; font-weight: 500; transition: all 0.2s; } .secondary-button:hover { background: rgba(99, 102, 241, 0.2); transform: translateY(-2px); } @media (max-width: 640px) { .download-options { flex-direction: column; align-items: stretch; } .download-button { justify-content: center; } } /* Installation Steps */ .install-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 2rem; } .step { background: var(--card-background); padding: 2rem; border-radius: 12px; position: relative; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); transition: transform 0.2s ease; } .step:hover { transform: translateY(-4px); } .step-number { position: absolute; top: -1rem; left: -1rem; background: var(--primary-color); color: white; width: 2rem; height: 2rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); } .step h3 { margin-bottom: 1rem; font-size: 1.25rem; font-weight: 600; color: var(--text-primary); } .step p { color: var(--text-secondary); line-height: 1.5; } /* Dark mode adjustments */ [data-theme="dark"] .step { border-color: rgba(255, 255, 255, 0.1); background: rgba(30, 41, 59, 0.8); } @media (max-width: 768px) { .install-steps { grid-template-columns: 1fr; } } /* Keyboard Shortcuts */ .shortcuts { background: var(--card); border-radius: 12px; padding: 2rem; margin-top: 2rem; border: 1px solid var(--border); } .shortcut-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; } .shortcut { display: flex; align-items: center; justify-content: space-between; padding: 0.5rem; border-radius: 6px; } .shortcut:hover { background: var(--hover); } .key { background: var(--code-bg); padding: 0.25rem 0.5rem; border-radius: 4px; font-family: monospace; font-size: 0.875rem; } /* FAQ Section */ .faq { max-width: 800px; margin: 4rem auto; padding: 0 2rem; } .faq-list { display: flex; flex-direction: column; gap: 1rem; } .faq-item { background: var(--card-background); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; overflow: hidden; transition: all 0.3s ease; } .faq-question { width: 100%; padding: 1.5rem; display: flex; justify-content: space-between; align-items: center; background: none; border: none; cursor: pointer; text-align: left; color: var(--text-primary); font-size: 1.1rem; font-weight: 500; } .faq-icon { font-size: 1.5rem; transition: transform 0.3s ease; } .faq-item.active .faq-icon { transform: rotate(180deg); } .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; padding: 0 1.5rem; } .faq-item.active .faq-answer { max-height: 500px; /* Adjust based on content */ padding: 0 1.5rem 1.5rem; } .faq-answer p { color: var(--text-secondary); line-height: 1.6; } .faq-answer ul { margin-top: 0.5rem; margin-left: 1.5rem; color: var(--text-secondary); } .faq-answer li { margin-bottom: 0.5rem; } /* Dark mode adjustments */ [data-theme="dark"] .faq-item { border-color: rgba(255, 255, 255, 0.1); background: rgba(30, 41, 59, 0.8); } @media (max-width: 768px) { .faq { margin: 3rem auto; } .faq-question { padding: 1.25rem; font-size: 1rem; } } /* Footer */ footer { border-top: 1px solid var(--border); margin-top: 6rem; padding-top: 3rem; } .footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 2rem; } .footer-section { display: flex; flex-direction: column; gap: 0.5rem; } .footer-section a { color: var(--text); text-decoration: none; opacity: 0.8; } .footer-section a:hover { opacity: 1; } /* Responsive Design */ @media (max-width: 768px) { nav { flex-wrap: wrap; gap: 0.5rem; } .download-options { flex-direction: column; } .feature-grid { grid-template-columns: 1fr; } .install-steps { grid-template-columns: 1fr; } } /* Animations */ @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .feature, .step, .download-button { animation: fadeIn 0.5s ease-out; } .screenshot { width: 100%; max-width: 1200px; margin: 2rem auto; padding: 0 1rem; } .screenshot-img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); } .glass-nav { backdrop-filter: blur(12px); background: var(--card-background); position: fixed; width: 100%; top: 0; z-index: 1000; border-bottom: 1px solid rgba(0, 0, 0, 0.1); padding: 1rem 2rem; box-sizing: border-box; box-shadow: none; } [data-theme="dark"] .glass-nav { border-bottom: 1px solid rgba(255, 255, 255, 0.1); background: rgba(30, 41, 59, 0.8); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); } .tech-badge { background: rgba(99, 102, 241, 0.1); color: var(--primary-color); padding: 0.5rem 1rem; border-radius: 9999px; font-weight: 500; margin-right: 0.5rem; } .feature-card { background: var(--card-background); border-radius: 16px; padding: 2rem; transition: transform 0.2s; } .feature-card:hover { transform: translateY(-5px); } @keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-20px); } 100% { transform: translateY(0px); } } /* Features Section */ .features { padding: 4rem 2rem; } .section-title { text-align: center; margin-bottom: 3rem; font-size: 2.5rem; font-weight: 700; } .feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; } .feature-card { background: var(--card-background); padding: 2rem; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); transition: transform 0.2s ease; } .feature-card:hover { transform: translateY(-4px); } .feature-icon { font-size: 2.5rem; margin-bottom: 1rem; } .feature-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.75rem; color: var(--text-primary); } .feature-card p { color: var(--text-secondary); line-height: 1.5; } /* Dark mode adjustments */ [data-theme="dark"] .feature-card { border-color: rgba(255, 255, 255, 0.1); background: rgba(30, 41, 59, 0.8); } @media (max-width: 768px) { .feature-grid { grid-template-columns: 1fr; } .section-title { font-size: 2rem; } } /* Footer Styles */ .footer { background: var(--card-background); border-top: 1px solid rgba(0, 0, 0, 0.1); padding: 4rem 2rem 2rem; margin-top: 4rem; width: 100%; box-sizing: border-box; box-shadow: none; } [data-theme="dark"] .footer { background: rgba(30, 41, 59, 0.8); border-top: 1px solid rgba(255, 255, 255, 0.1); } .footer-content { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; } .footer-section h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 1rem; color: var(--text-primary); } .footer-section h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 1rem; color: var(--text-primary); } .footer-description { color: var(--text-secondary); line-height: 1.6; margin-bottom: 1rem; } .footer-links, .tech-stack-list { list-style: none; padding: 0; } .footer-links li, .tech-stack-list li { margin-bottom: 0.75rem; } .footer-links a, .tech-stack-list a { color: var(--text-secondary); text-decoration: none; display: flex; align-items: center; gap: 0.5rem; transition: color 0.2s ease; } .footer-links a:hover, .tech-stack-list a:hover { color: var(--primary-color); } .footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 2rem; border-top: 1px solid rgba(0, 0, 0, 0.1); text-align: center; color: var(--text-secondary); } [data-theme="dark"] .footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); } .footer-bottom p { margin-bottom: 0.5rem; } .footer-bottom a { color: var(--primary-color); text-decoration: none; } .footer-bottom a:hover { text-decoration: underline; } .heart { color: #ff4b4b; display: inline-block; animation: heartbeat 1.5s ease infinite; } .coffee { display: inline-block; animation: wiggle 1s ease infinite; } @keyframes heartbeat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } } @keyframes wiggle { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(-10deg); } 75% { transform: rotate(10deg); } } /* Responsive adjustments */ @media (max-width: 768px) { .footer-content { grid-template-columns: 1fr; gap: 2rem; } .footer { padding: 3rem 1.5rem 1.5rem; } } /* Dark mode adjustments */ [data-theme="dark"] .footer { background: rgba(30, 41, 59, 0.8); border-color: rgba(255, 255, 255, 0.1); } /* Common card styles */ .feature-card, .step, .faq-item { background: var(--card-background); border-radius: 12px; border: 1px solid rgba(0, 0, 0, 0.1); transition: transform 0.2s ease; box-shadow: none; } /* Dark mode specific adjustments */ [data-theme="dark"] .feature-card, [data-theme="dark"] .step, [data-theme="dark"] .faq-item { border-color: rgba(255, 255, 255, 0.1); background: rgba(30, 41, 59, 0.8); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2); } /* Hover states */ .feature-card:hover, .step:hover { transform: translateY(-4px); border-color: var(--primary-color); } .faq-item.active { border-color: var(--primary-color); } /* Optional: Add subtle hover effect to nav links */ .nav-links a { position: relative; padding-bottom: 2px; } .nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary-color); transition: width 0.3s ease; } .nav-links a:hover::after { width: 100%; } /* Add this to your CSS */ .ph-badge { display: inline-block; transition: transform 0.2s ease; } .ph-badge:hover { transform: translateY(-2px); } /* If you want to adjust for dark mode */ [data-theme="dark"] .ph-badge img { filter: invert(1); /* Optional: if you want to invert colors in dark mode */ } .coming-soon-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; background: #ff6154; /* Product Hunt color */ color: white; border-radius: 8px; text-decoration: none; font-weight: 500; transition: transform 0.2s ease; } .coming-soon-badge:hover { transform: translateY(-2px); }