:root { --primary: #4361ee; --secondary: #3f37c9; --accent: #4895ef; --dark: #1b263b; --light: #f8f9fa; --success: #4cc9f0; --danger: #f72585; --warning: #f8961e; --info: #560bad; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Poppins', sans-serif; background-color: #f5f7fa; color: #333; line-height: 1.6; } /* Header & Navigation */ header { background-color: white; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); position: sticky; top: 0; z-index: 100; } nav { max-width: 1200px; margin: 0 auto; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; } .logo { font-size: 1.8rem; font-weight: 700; color: var(--primary); text-decoration: none; display: flex; align-items: center; } .logo i { margin-right: 0.5rem; font-size: 2rem; } .nav-links { display: flex; gap: 2rem; } .nav-links a { text-decoration: none; color: var(--dark); font-weight: 500; transition: color 0.3s; } .nav-links a:hover { color: var(--primary); } .cta-button { background-color: var(--primary); color: white; padding: 0.6rem 1.2rem; border-radius: 50px; font-weight: 600; transition: all 0.3s; } .cta-button:hover { background-color: var(--secondary); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3); } /* Hero Section */ .hero { background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%); color: white; padding: 5rem 2rem; text-align: center; } .hero-content { max-width: 800px; margin: 0 auto; } .hero h1 { font-size: 3rem; margin-bottom: 1rem; line-height: 1.2; } .hero p { font-size: 1.2rem; margin-bottom: 2rem; opacity: 0.9; } .hero-buttons { display: flex; justify-content: center; gap: 1rem; margin-top: 2rem; } .btn { padding: 0.8rem 1.8rem; border-radius: 50px; font-weight: 600; text-decoration: none; transition: all 0.3s; } .btn-primary { background-color: white; color: var(--primary); } .btn-primary:hover { background-color: #f0f0f0; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); } .btn-secondary { background-color: transparent; color: white; border: 2px solid white; } .btn-secondary:hover { background-color: rgba(255, 255, 255, 0.1); transform: translateY(-2px); } /* Features Section */ .features { padding: 5rem 2rem; max-width: 1200px; margin: 0 auto; } .section-title { text-align: center; margin-bottom: 3rem; } .section-title h2 { font-size: 2.5rem; color: var(--dark); margin-bottom: 1rem; } .section-title p { color: #666; font-size: 1.1rem; max-width: 700px; margin: 0 auto; } .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; } .feature-card { background-color: white; border-radius: 10px; padding: 2rem; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); transition: transform 0.3s, box-shadow 0.3s; } .feature-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); } .feature-icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 1rem; } .feature-card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--dark); } .feature-card p { color: #666; } /* Compiler Section */ .compiler-section { padding: 3rem 2rem; max-width: 1400px; margin: 0 auto; } .compiler-container { background-color: white; border-radius: 10px; box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1); overflow: hidden; } .editor-header { background-color: var(--dark); color: white; padding: 0.8rem 1.5rem; display: flex; justify-content: space-between; align-items: center; } .editor-title { display: flex; align-items: center; gap: 0.5rem; font-weight: 500; } .editor-actions { display: flex; gap: 0.8rem; } .editor-btn { background-color: rgba(255, 255, 255, 0.1); color: white; border: none; padding: 0.4rem 0.8rem; border-radius: 5px; cursor: pointer; display: flex; align-items: center; gap: 0.3rem; font-size: 0.9rem; transition: background-color 0.3s; } .editor-btn:hover { background-color: rgba(255, 255, 255, 0.2); } .editor-btn i { font-size: 1rem; } .editor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } .editor-wrapper { border-right: 1px solid #eee; } .editor-wrapper:last-child { border-right: none; } textarea.code-editor { width: 100%; height: 300px; padding: 1rem; font-family: 'Courier New', monospace; font-size: 14px; border: none; resize: none; outline: none; background-color: #f8f9fa; color: #333; } .preview-container { margin-top: 2rem; } .preview-header { background-color: var(--dark); color: white; padding: 0.8rem 1.5rem; display: flex; justify-content: space-between; align-items: center; border-radius: 10px 10px 0 0; } .preview-actions { display: flex; gap: 0.8rem; } iframe#preview { width: 100%; height: 400px; border: none; background-color: white; border-radius: 0 0 10px 10px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); } /* Demo Code */ .demo-code { max-width: 1200px; margin: 3rem auto; padding: 0 2rem; } .demo-code h3 { font-size: 1.8rem; margin-bottom: 1.5rem; color: var(--dark); } .demo-tabs { display: flex; gap: 0.5rem; margin-bottom: 1rem; } .demo-tab { padding: 0.6rem 1.2rem; background-color: #eee; border-radius: 5px 5px 0 0; cursor: pointer; font-weight: 500; transition: all 0.3s; } .demo-tab.active { background-color: var(--primary); color: white; } .demo-content { display: none; background-color: white; padding: 1.5rem; border-radius: 0 5px 5px 5px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); } .demo-content.active { display: block; } /* Footer */ footer { background-color: var(--dark); color: white; padding: 3rem 2rem; text-align: center; } .footer-content { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; text-align: left; } .footer-column h3 { font-size: 1.3rem; margin-bottom: 1.5rem; position: relative; display: inline-block; } .footer-column h3::after { content: ''; position: absolute; left: 0; bottom: -8px; width: 50px; height: 3px; background-color: var(--primary); } .footer-column ul { list-style: none; } .footer-column ul li { margin-bottom: 0.8rem; } .footer-column ul li a { color: #ccc; text-decoration: none; transition: color 0.3s; } .footer-column ul li a:hover { color: white; } .social-links { display: flex; gap: 1rem; margin-top: 1rem; } .social-links a { color: white; font-size: 1.2rem; transition: color 0.3s; } .social-links a:hover { color: var(--primary); } .copyright { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.9rem; color: #aaa; } /* Responsive */ @media (max-width: 768px) { .nav-links { display: none; } .hero h1 { font-size: 2.2rem; } .hero-buttons { flex-direction: column; } .editor-grid { grid-template-columns: 1fr; } .editor-wrapper { border-right: none; border-bottom: 1px solid #eee; } } /* Google Ads Container */ .ad-container { max-width: 1200px; margin: 2rem auto; padding: 1rem; background-color: #f8f9fa; border-radius: 5px; text-align: center; border: 1px dashed #ccc; } .ad-container p { color: #666; margin-bottom: 0.5rem; }