:root { --primary-color: #2563eb; --primary-dark: #1d4ed8; --secondary-color: #64748b; --accent-color: #f59e0b; --success-color: #10b981; --error-color: #ef4444; --warning-color: #f59e0b; --background-color: #0f172a; --surface-color: #1e293b; --surface-light: #334155; --text-primary: #f8fafc; --text-secondary: #cbd5e1; --text-muted: #94a3b8; --border-color: #475569; --shadow-color: rgba(0, 0, 0, 0.3); --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark)); --gradient-secondary: linear-gradient(135deg, var(--surface-color), var(--surface-light)); } * { margin: 0; padding: 0; box-sizing: border-box; } html { scroll-behavior: smooth; } body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; line-height: 1.6; color: var(--text-primary); background: var(--background-color); } .container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; } /* Navigation */ .navbar { position: fixed; top: 0; width: 100%; background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); z-index: 1000; transition: background 0.3s ease; } .nav-container { max-width: 1200px; margin: 0 auto; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; } .nav-logo h2 { color: var(--primary-color); font-weight: 700; font-size: 1.5rem; } .nav-menu { display: flex; gap: 2rem; } .nav-link { color: var(--text-secondary); text-decoration: none; font-weight: 500; transition: color 0.3s ease; position: relative; } .nav-link:hover { color: var(--primary-color); } .nav-link::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: var(--primary-color); transition: width 0.3s ease; } .nav-link:hover::after { width: 100%; } .hamburger { display: none; flex-direction: column; cursor: pointer; } .bar { width: 25px; height: 3px; background: var(--text-primary); margin: 3px 0; transition: 0.3s; } /* Hero Section */ .hero { min-height: 100vh; display: flex; align-items: center; background: var(--gradient-secondary); position: relative; overflow: hidden; } .hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url('data:image/svg+xml,'); opacity: 0.5; pointer-events: none; } .hero-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; } .hero-content { z-index: 2; } .hero-title { font-size: 4rem; font-weight: 800; background: var(--gradient-primary); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 1rem; line-height: 1.1; } .hero-subtitle { font-size: 1.5rem; color: var(--text-secondary); margin-bottom: 1rem; font-weight: 600; } .hero-description { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2rem; line-height: 1.7; } .hero-buttons { display: flex; gap: 1rem; } .btn { padding: 0.875rem 2rem; border-radius: 0.5rem; text-decoration: none; font-weight: 600; font-size: 1rem; transition: all 0.3s ease; display: inline-flex; align-items: center; justify-content: center; border: 2px solid transparent; } .btn-primary { background: var(--gradient-primary); color: white; box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3); } .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4); } .btn-secondary { background: transparent; color: var(--text-primary); border-color: var(--border-color); } .btn-secondary:hover { background: var(--surface-light); border-color: var(--primary-color); color: var(--primary-color); } /* Code Preview */ .hero-image { position: relative; z-index: 2; } .code-preview { background: var(--surface-color); border-radius: 1rem; border: 1px solid var(--border-color); box-shadow: 0 20px 40px var(--shadow-color); overflow: hidden; } .code-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; background: var(--surface-light); border-bottom: 1px solid var(--border-color); } .code-dots { display: flex; gap: 0.5rem; } .dot { width: 12px; height: 12px; border-radius: 50%; } .dot.red { background: #ef4444; } .dot.yellow { background: #f59e0b; } .dot.green { background: #10b981; } .code-title { color: var(--text-secondary); font-size: 0.875rem; font-weight: 500; } .code-content { padding: 1.5rem; font-family: 'Fira Code', 'JetBrains Mono', monospace; font-size: 0.875rem; line-height: 1.5; color: var(--text-secondary); } .code-content pre { margin: 0; } /* Sections */ .section-title { font-size: 2.5rem; font-weight: 700; text-align: center; margin-bottom: 3rem; color: var(--text-primary); } /* Features Section */ .features { padding: 6rem 0; background: var(--background-color); } .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; } .feature-card { background: var(--surface-color); padding: 2rem; border-radius: 1rem; border: 1px solid var(--border-color); text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; } .feature-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px var(--shadow-color); } .feature-icon { font-size: 3rem; margin-bottom: 1rem; display: block; } .feature-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 1rem; color: var(--text-primary); } .feature-card p { color: var(--text-muted); line-height: 1.6; } /* Documentation Section */ .documentation { padding: 6rem 0; background: var(--surface-color); } .docs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; } .docs-card { background: var(--background-color); padding: 2rem; border-radius: 1rem; border: 1px solid var(--border-color); transition: transform 0.3s ease; } .docs-card:hover { transform: translateY(-3px); } .docs-card h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 1rem; color: var(--text-primary); } .docs-card p { color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.6; } .docs-link { color: var(--primary-color); text-decoration: none; font-weight: 600; transition: color 0.3s ease; } .docs-link:hover { color: var(--primary-dark); } /* Demo Section */ .demo { padding: 6rem 0; background: var(--background-color); } .demo-container { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; max-width: 1000px; margin: 0 auto; } .demo-controls h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 2rem; color: var(--text-primary); } .demo-buttons { display: flex; flex-direction: column; gap: 1rem; } .demo-btn { padding: 1rem 1.5rem; background: var(--surface-color); color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 0.5rem; cursor: pointer; font-weight: 500; transition: all 0.3s ease; } .demo-btn:hover { background: var(--primary-color); border-color: var(--primary-color); } .demo-output { background: var(--surface-color); border-radius: 1rem; border: 1px solid var(--border-color); overflow: hidden; } .demo-output h4 { padding: 1rem 1.5rem; background: var(--surface-light); border-bottom: 1px solid var(--border-color); font-weight: 600; color: var(--text-primary); } #demo-result { padding: 1.5rem; font-family: 'Fira Code', monospace; font-size: 0.875rem; line-height: 1.5; color: var(--text-secondary); background: transparent; border: none; min-height: 200px; white-space: pre-wrap; } /* Stats Section */ .stats { padding: 4rem 0; background: var(--surface-color); } .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; } .stat-item { text-align: center; padding: 2rem; } .stat-number { font-size: 3rem; font-weight: 800; color: var(--primary-color); margin-bottom: 0.5rem; } .stat-label { font-size: 1rem; color: var(--text-secondary); font-weight: 500; } /* Footer */ .footer { background: var(--background-color); padding: 4rem 0 2rem; border-top: 1px solid var(--border-color); } .footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; margin-bottom: 3rem; } .footer-section h3, .footer-section h4 { color: var(--text-primary); margin-bottom: 1rem; font-weight: 600; } .footer-section p, .footer-section li { color: var(--text-muted); line-height: 1.6; } .footer-section ul { list-style: none; } .footer-section ul li { margin-bottom: 0.5rem; } .footer-section a { color: var(--text-muted); text-decoration: none; transition: color 0.3s ease; } .footer-section a:hover { color: var(--primary-color); } .footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid var(--border-color); color: var(--text-muted); } /* Responsive Design */ @media (max-width: 768px) { .nav-menu { position: fixed; left: -100%; top: 70px; flex-direction: column; background: var(--surface-color); width: 100%; text-align: center; transition: 0.3s; box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05); border-top: 1px solid var(--border-color); } .nav-menu.active { left: 0; } .nav-menu a { padding: 1rem; display: block; border-bottom: 1px solid var(--border-color); } .hamburger { display: flex; } .hamburger.active .bar:nth-child(2) { opacity: 0; } .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); } .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); } .hero-container { grid-template-columns: 1fr; text-align: center; gap: 2rem; } .hero-title { font-size: 2.5rem; } .hero-buttons { justify-content: center; flex-wrap: wrap; } .demo-container { grid-template-columns: 1fr; gap: 2rem; } .container { padding: 0 1rem; } .features-grid { grid-template-columns: 1fr; } .docs-grid { grid-template-columns: 1fr; } .stats-grid { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 480px) { .hero-title { font-size: 2rem; } .section-title { font-size: 2rem; } .stats-grid { grid-template-columns: 1fr; } } /* Animation for smooth loading */ @keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } .feature-card, .docs-card { animation: fadeInUp 0.6s ease-out; } /* Scrollbar Styling */ ::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-track { background: var(--surface-color); } ::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: var(--primary-color); }