/* Demo-specific styles */ /* Hero Section */ .hero-section { padding: 4rem 0; background: linear-gradient( 135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100% ); margin-bottom: 3rem; } .hero-content { text-align: center; margin-bottom: 3rem; } .hero-content h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; color: var(--text-primary); } .hero-content p { font-size: 1.125rem; color: var(--text-secondary); margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; } .hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; } .hero-visual { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; align-items: start; } #demo-canvas { width: 100%; height: 400px; border: 1px solid var(--border-color); border-radius: var(--border-radius); background: var(--bg-primary); } .demo-controls { background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: var(--border-radius); padding: 1.5rem; box-shadow: var(--shadow-sm); } .control-group { margin-bottom: 1.5rem; } .control-group:last-child { margin-bottom: 0; } .control-group label { margin-bottom: 0.5rem; font-weight: 600; font-size: 0.875rem; } .control-group .btn { margin-right: 0.5rem; margin-bottom: 0.5rem; } /* Features Section */ .features-section { padding: 3rem 0; margin-bottom: 3rem; } .features-section h3 { text-align: center; font-size: 2rem; margin-bottom: 2rem; color: var(--text-primary); } .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; } .feature-card { background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: var(--border-radius); padding: 2rem; text-align: center; box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.2s ease; } .feature-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); } .feature-icon { font-size: 2.5rem; margin-bottom: 1rem; } .feature-card h4 { font-size: 1.25rem; margin-bottom: 1rem; color: var(--text-primary); } .feature-card p { color: var(--text-secondary); line-height: 1.6; } /* Live Demo Section */ .live-demo-section { padding: 3rem 0; background: var(--bg-secondary); border-radius: var(--border-radius); margin-bottom: 3rem; } .live-demo-section h3 { text-align: center; font-size: 1.75rem; margin-bottom: 2rem; color: var(--text-primary); } .conversion-demo { max-width: 800px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; } .input-section { background: var(--bg-primary); padding: 1.5rem; border-radius: var(--border-radius); border: 1px solid var(--border-color); } .input-section label { margin-bottom: 0.5rem; margin-top: 1rem; } .input-section label:first-child { margin-top: 0; } .conversion-results { background: var(--bg-primary); padding: 1.5rem; border-radius: var(--border-radius); border: 1px solid var(--border-color); } .conversion-results h4 { margin-bottom: 1rem; color: var(--text-primary); } .scheme-results { display: flex; flex-direction: column; gap: 0.75rem; } .scheme-result { padding: 0.75rem; background: var(--bg-tertiary); border-radius: var(--border-radius); font-family: var(--font-mono); font-size: 0.875rem; } .scheme-result strong { color: var(--primary-color); margin-right: 0.5rem; } /* Code Examples Section */ .code-examples-section { padding: 3rem 0; margin-bottom: 3rem; } .code-examples-section h3 { text-align: center; font-size: 1.75rem; margin-bottom: 2rem; color: var(--text-primary); } .code-tabs { display: flex; justify-content: center; margin-bottom: 2rem; border-bottom: 1px solid var(--border-color); } .tab-button { background: none; border: none; padding: 1rem 2rem; cursor: pointer; font-weight: 500; color: var(--text-secondary); border-bottom: 2px solid transparent; transition: all 0.2s ease; } .tab-button:hover { color: var(--text-primary); } .tab-button.active { color: var(--primary-color); border-bottom-color: var(--primary-color); } .tab-content { max-width: 900px; margin: 0 auto; } .tab-pane { display: none; } .tab-pane.active { display: block; } .tab-pane pre { background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: var(--border-radius); padding: 1.5rem; overflow-x: auto; font-size: 0.875rem; line-height: 1.6; } /* Responsive adjustments */ @media (max-width: 768px) { .hero-visual { grid-template-columns: 1fr; gap: 1.5rem; } .conversion-demo { grid-template-columns: 1fr; gap: 1.5rem; } .hero-content h2 { font-size: 2rem; } .hero-content p { font-size: 1rem; } .features-grid { grid-template-columns: 1fr; } .code-tabs { flex-wrap: wrap; gap: 0.5rem; } .tab-button { padding: 0.75rem 1.5rem; } }