*{box-sizing:border-box;margin:0;padding:0}:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;line-height:1.5;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;padding:0;min-width:320px;min-height:100vh;width:100%;background:#f5f5f5;color:#333}#root{width:100%;min-height:100vh}h1,h2,h3,h4,h5,h6{color:#333;margin:0;padding:0}h1{font-size:3rem;line-height:1.1}p{color:#555;margin:0;padding:0}a{font-weight:500;color:#06c;text-decoration:none}a:hover{color:#0052a3;text-decoration:underline}button{font-family:inherit;cursor:pointer}.App{min-height:100vh;width:100%;background:#f8f9fa}.content-container{width:100%;padding:2rem}.hero{background:#fff;color:#333;padding:3rem 2rem;text-align:center;width:100%;border-bottom:1px solid #e0e0e0}.hero h1{font-size:3rem;margin-bottom:1rem;color:#333}.tagline{font-size:1.2rem;color:#666;margin-bottom:2rem}.hero-3d-container{margin:2rem auto;max-width:600px}.servo-viewer-3d{width:100%;height:400px;overflow:hidden}.viewer-hint{margin-top:1rem;color:#666;font-size:.9rem;font-style:italic}.key-features{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap;margin-top:2rem}.feature-badge{background:#f0f0f0;color:#333;padding:.5rem 1rem;border-radius:20px;font-weight:700;border:1px solid #e0e0e0}.specifications,.pinout-diagram,.pwm-control,.resources,.shopping-links{background:#fff;color:#333;border-radius:12px;padding:2rem 3rem;margin:0 auto 2rem;max-width:1400px;box-shadow:0 4px 6px #0000001a}h2{color:#333;border-bottom:2px solid #e0e0e0;padding-bottom:.5rem;margin-bottom:1.5rem;margin-top:0}.specs-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:2rem}.spec-section h3{color:#333;margin-bottom:1rem}.spec-section table{width:100%}.spec-section tr{border-bottom:1px solid #eee}.spec-label{padding:.5rem 0;font-weight:600;color:#555}.spec-value{padding:.5rem 0;text-align:right;color:#333}.pinout-container{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:center}@media (max-width: 768px){.pinout-container{grid-template-columns:1fr}}.pinout-image img{width:100%;max-width:400px;height:auto}.pin-list{display:flex;flex-direction:column;gap:1rem}.pin-item{display:flex;align-items:center;gap:.5rem;color:#333}.pin-color{width:20px;height:20px;border-radius:50%;display:inline-block}.pin-item.brown .pin-color{background:#8b4513}.pin-item.red .pin-color{background:red}.pin-item.orange .pin-color{background:orange}.wiring-note{margin-top:1.5rem;padding:1rem;background:#fff3cd;border-left:4px solid #ffc107;border-radius:4px;color:#856404}.pwm-content{display:grid;grid-template-columns:1fr 1fr;gap:2rem}@media (max-width: 768px){.pwm-content{grid-template-columns:1fr}}.pwm-explanation ul{list-style:none;padding:0;color:#333}.pwm-explanation li{padding:.5rem 0;border-bottom:1px solid #eee;color:#333}.angle-control{margin:1.5rem 0}.angle-control label{color:#333;font-weight:600;display:block;margin-bottom:.5rem}.angle-slider{width:100%;margin-top:.5rem}.pulse-display{background:#f8f9fa;color:#333;padding:1rem;border-radius:8px;margin:1rem 0}.pulse-value,.duty-cycle{padding:.5rem 0}.code-examples{margin-top:1.5rem}.code-examples pre{background:#2d2d2d;color:#f8f8f2;padding:1rem;border-radius:8px;overflow-x:auto}.resource-sections{display:flex;flex-direction:column;gap:2rem}.resource-category h3{color:#333;margin-bottom:1rem}.resource-list{display:flex;flex-direction:column;gap:1rem}.resource-item{padding:1rem;background:#f8f9fa;border-radius:8px;transition:transform .2s}.resource-item:hover{transform:translate(5px);background:#e9ecef}.resource-link{color:#06c;font-weight:700;text-decoration:none}.resource-link:hover{text-decoration:underline}.resource-notes{margin:.5rem 0 0;color:#666;font-size:.9rem}.shopping-container{display:grid;grid-template-columns:1fr 1fr;gap:2rem;margin-bottom:2rem}@media (max-width: 768px){.shopping-container{grid-template-columns:1fr}}.shopping-card{padding:1.5rem;background:#f8f9fa;color:#333;border-radius:12px;text-align:center}.shopping-card h3{color:#333;margin-bottom:1rem;margin-top:0}.shop-button{display:inline-block;padding:.75rem 2rem;margin:1rem 0;border-radius:25px;text-decoration:none;font-weight:700;transition:transform .2s,box-shadow .2s}.shop-button:hover{transform:translateY(-2px);box-shadow:0 5px 15px #0003}.shop-button.amazon{background:#f90;color:#fff}.shop-button.aliexpress{background:#e62e04;color:#fff}.price-range{display:block;margin-top:.5rem;color:#666;font-size:.9rem}.buying-tips{background:#e8f4f8;padding:1.5rem;border-radius:8px}.buying-tips ul{list-style:none;padding:0;color:#333}.buying-tips li{padding:.5rem 0 .5rem 1.5rem;position:relative}.buying-tips li:before{content:"✓";position:absolute;left:0;color:#28a745;font-weight:700}.tab-navigation{display:flex;gap:.5rem;margin:0 auto 2rem;max-width:1400px;background:#fff;padding:1rem;border-radius:12px;box-shadow:0 2px 4px #0000001a;overflow-x:auto;justify-content:center}.tab-button{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;border:none;background:transparent;color:#666;font-size:1rem;font-weight:600;cursor:pointer;border-radius:8px;transition:all .3s ease;white-space:nowrap}.tab-button:hover{background:#f0f0f0;color:#333}.tab-button.active{background:#333;color:#fff;box-shadow:0 4px 12px #667eea4d}.tab-icon{font-size:1.2rem}.tab-label{font-size:.95rem}@media (max-width: 768px){.tab-navigation{padding:.75rem}.tab-button{padding:.6rem 1rem}.tab-label{display:none}.tab-icon{font-size:1.5rem}}.tab-content{animation:fadeIn .3s ease-in}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}h3,h4,h5,h6{color:#333}p,span,div{color:inherit}strong{color:#333;font-weight:600}table,ul,ol{color:#333}li{color:inherit}label{color:#333}pre code{color:#f8f8f2}.component-library{max-width:1400px;margin:0 auto;padding:2rem}.library-header{text-align:center;margin-bottom:3rem}.library-header h1{font-size:2.5rem;color:#333;margin-bottom:.5rem}.library-header p{font-size:1.2rem;color:#666}.component-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:2rem;margin-top:2rem}.component-list{display:flex;flex-direction:column;gap:1rem;margin-top:2rem}.component-card{background:#fff;border-radius:12px;overflow:hidden;text-decoration:none;transition:transform .2s,box-shadow .2s;border:1px solid #e0e0e0}.component-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000001a}.component-card-image{height:200px;background:#f8f9fa;display:flex;align-items:center;justify-content:center;position:relative}.component-card-image img{max-width:100%;max-height:100%;object-fit:contain}.component-placeholder{font-size:4rem;color:#ddd;display:flex;align-items:center;justify-content:center;width:100%;height:100%}.component-card-content{padding:1.5rem}.component-card h3{color:#333;margin:0 0 .5rem;font-size:1.25rem}.component-card p{color:#666;margin:0 0 1rem;font-size:.95rem;line-height:1.5}.component-features{display:flex;gap:.5rem;flex-wrap:wrap}.component-card .feature-badge{background:#f0f0f0;color:#555;padding:.25rem .75rem;border-radius:12px;font-size:.85rem}.component-list-item{display:flex;align-items:center;background:#fff;border-radius:8px;padding:.75rem;text-decoration:none;transition:transform .2s,box-shadow .2s;border:1px solid #e0e0e0;gap:1rem}.component-list-item:hover{transform:translate(4px);box-shadow:0 2px 8px #0000001a}.component-item-image{width:40px;height:40px;flex-shrink:0;background:#f8f9fa;border-radius:6px;display:flex;align-items:center;justify-content:center}.component-item-image img{max-width:100%;max-height:100%;object-fit:contain;border-radius:4px}.component-item-content{flex:1}.component-list-item h3{color:#333;margin:0;font-size:1rem;font-weight:600}.component-item-arrow{color:#999;font-size:1.2rem;font-weight:700;transition:transform .2s,color .2s}.component-list-item:hover .component-item-arrow{color:#333;transform:translate(2px)}@media (max-width: 768px){.component-list-item{padding:1rem}.component-item-image{width:50px;height:50px}.component-list-item h3{font-size:.95rem}}.breadcrumb{max-width:1400px;margin:0 auto;padding:1rem 2rem}.breadcrumb a{color:#06c;text-decoration:none;font-size:.95rem;display:inline-flex;align-items:center;gap:.25rem}.breadcrumb a:hover{text-decoration:underline}
