*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;line-height:1.6;color:#333;background:#f9f9f9;min-height:100vh}
.App{min-height:100vh;display:flex;flex-direction:column}
main{flex:1}

.skip-link{position:absolute;left:-9999px;top:.5rem;z-index:2000;padding:.5rem 1rem;background:#06c;color:#fff;text-decoration:none;border-radius:4px}
.skip-link:focus{left:.5rem;outline:3px solid #fff;outline-offset:2px}

.header{position:sticky;top:0;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.1);z-index:1000}
.header-container{max-width:1200px;margin:0 auto;padding:0 20px}
.header-content{display:flex;align-items:center;justify-content:space-between;padding:1rem 0;gap:2rem;position:relative}
.logo{font-size:1.5rem;font-weight:700;color:#06c;text-decoration:none;white-space:nowrap}
.nav{display:flex;gap:2rem;flex:1;justify-content:center;align-items:center}
.nav-link{color:#333;text-decoration:none;font-weight:500}
.nav-link:hover{color:#06c}
.header-actions{display:flex;align-items:center;gap:1rem}
.cart-link{color:#333;font-weight:600;text-decoration:none;padding:.5rem .75rem}
.cart-link:hover{color:#06c;text-decoration:underline}
.shop-now-button{background:#06c;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:4px;font-weight:600;text-decoration:none}
.shop-now-button:hover{background:#0052a3}
.menu-toggle{display:none;background:none;border:none;cursor:pointer;padding:.5rem;color:#333}

.theme-toggle{width:44px;height:44px;padding:0;border:none;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px rgba(0,0,0,.15);flex-shrink:0}
.nav .theme-toggle{margin-left:.5rem}
.theme-toggle.is-light-mode{background:#1a1a1a}
.theme-toggle.is-light-mode svg{color:#fff}
.theme-toggle.is-dark-mode{background:#f5f5f5}
.theme-toggle.is-dark-mode svg{color:#1a1a1a}
.theme-toggle svg{width:22px;height:22px}
.theme-toggle .theme-icon-sun,.theme-toggle .theme-icon-moon{display:none}
.theme-toggle.is-dark-mode .theme-icon-sun{display:block}
.theme-toggle.is-light-mode .theme-icon-moon{display:block}

.hero{position:relative;min-height:600px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.hero-background{position:absolute;inset:0;z-index:0;background:#000}
.hero-background:after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.45)}
.hero-image{width:100%;height:100%;object-fit:cover;display:block}
.hero-content{position:relative;z-index:2;max-width:1200px;width:100%;padding:0 20px}
.hero-text{max-width:600px;color:#fff}
.hero-title{font-size:3.2rem;font-weight:700;margin-bottom:1.5rem;line-height:1.2}
.hero-description{font-size:1.2rem;margin-bottom:2rem}
.hero-buttons{display:flex;gap:1rem;flex-wrap:wrap}
.btn-primary,.btn-secondary{padding:1rem 2rem;border-radius:4px;font-size:1.05rem;font-weight:600;text-decoration:none;display:inline-flex;align-items:center;gap:.5rem}
.btn-primary{background:#fff;color:#06c}
.btn-primary:hover{transform:translateY(-2px)}
.btn-secondary{background:#e63946;color:#fff;border:2px solid #e63946}
.btn-secondary:hover{background:#d62839;border-color:#d62839}

.products{padding:5rem 20px;background:#f9f9f9}
.products-container{max-width:1200px;margin:0 auto}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.products-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem}
.product-card{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 4px 6px rgba(0,0,0,.1);display:flex;flex-direction:column}
.product-image-wrapper{width:100%;height:300px;overflow:hidden;background:#f0f0f0}
.product-image{width:100%;height:100%;object-fit:cover}
.product-info{padding:1.5rem;display:flex;flex-direction:column;flex:1}
.product-name{font-size:1.5rem;font-weight:700;margin-bottom:.75rem;color:#06c}
.product-description{color:#666;margin-bottom:1.5rem;flex:1}
.add-to-cart-button{background:#e63946;color:#fff;border:none;padding:.875rem 1.5rem;border-radius:4px;font-weight:600;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:.5rem}
.add-to-cart-button:hover{background:#d62839}

.about{padding:5rem 20px;background:linear-gradient(135deg,#06c 0%,#0052a3 100%);color:#fff}
.about-container{max-width:1200px;margin:0 auto}
.about-content{text-align:center;max-width:600px;margin:0 auto}
.about-title{font-size:3rem;font-weight:700;margin-bottom:2rem}
.about-button{background:#fff;color:#06c;border:none;padding:1rem 2rem;border-radius:4px;font-size:1.1rem;font-weight:600;text-decoration:none;display:inline-block}

.page-content{max-width:640px;margin:0 auto;padding:3rem 20px}
.page-content h1{font-size:2rem;margin-bottom:.5rem;color:#0a2540}
.page-content .lead{font-size:1.25rem;color:#06c;font-weight:600;margin-bottom:1rem}
.page-content p,.page-content .page-list li{color:#333;margin-bottom:1rem;line-height:1.7}
.page-content .page-list{margin:1rem 0 1.5rem 1.5rem}
.legal-page h2{font-size:1.25rem;margin-top:2rem;margin-bottom:.75rem;color:#0a2540}

.contact-page{max-width:600px;margin:0 auto;padding:3rem 20px}
.contact-page h1{font-size:2rem;margin-bottom:.5rem;color:#0a2540}
.contact-page>p{color:#666;margin-bottom:1.5rem}
.contact-form{background:#fff;padding:2rem;border-radius:12px;box-shadow:0 4px 6px rgba(0,0,0,.08)}
.form-group{margin-bottom:1.25rem}
.form-group label{display:block;font-weight:600;margin-bottom:.5rem;color:#333}
.form-group input,.form-group textarea{width:100%;padding:.75rem 1rem;border:1px solid #ddd;border-radius:4px;font-size:1rem;font-family:inherit}
.form-group textarea{min-height:140px;resize:vertical}
.submit-btn{background:#06c;color:#fff;border:none;padding:.875rem 1.5rem;border-radius:4px;font-size:1rem;font-weight:600;cursor:pointer;width:100%}
.submit-btn:hover{background:#0052a3}
.form-message{margin-top:1rem;padding:.75rem;border-radius:4px;display:none}
.form-message.success{background:#d4edda;color:#155724;display:block}
.form-message.error{background:#f8d7da;color:#721c24;display:block}

.footer{background:#1a1a1a;color:#fff;padding:3rem 20px 1.5rem}
.footer-container{max-width:1400px;margin:0 auto}
.footer-newsletter{border-bottom:1px solid #333;padding-bottom:3rem;margin-bottom:3rem}
.newsletter-content{max-width:600px;margin:0 auto;text-align:center}
.newsletter-title{font-size:1.75rem;font-weight:700;margin-bottom:1rem}
.newsletter-description{color:#ccc;margin-bottom:1.5rem}
.newsletter-form{display:flex;gap:.5rem;max-width:400px;margin:0 auto}
.newsletter-input{flex:1;padding:.875rem 1rem;border:1px solid #444;border-radius:4px;background:#2a2a2a;color:#fff}
.newsletter-button{background:#e63946;color:#fff;border:none;padding:.875rem 1.5rem;border-radius:4px;font-weight:600}
.footer-content{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:3rem;align-items:start}
.footer-brand-name{font-size:1.75rem;font-weight:700;margin:0 0 .5rem}
.brand-name-red,.brand-name-white{color:#06c}
.footer-list{list-style:none;display:flex;flex-direction:column;gap:.75rem}
.footer-list a{color:#fff;text-decoration:none}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;padding-top:2rem;border-top:1px solid #333;flex-wrap:wrap;gap:1rem}
.footer-legal{display:flex;gap:1.5rem}
.footer-legal a{color:#ccc;text-decoration:none}

a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #06c;outline-offset:3px}

html.dark-mode,html.dark-mode body{background:#020617;color:#e5e7eb}
html.dark-mode .header{background:#020617;box-shadow:0 2px 8px rgba(15,23,42,.8)}
html.dark-mode .header a{color:#60a5fa}
html.dark-mode .nav-link{color:#e5e7eb}
html.dark-mode .cart-link{color:#e5e7eb}
html.dark-mode .shop-now-button{background:#1d4ed8;color:#fff}
html.dark-mode .shop-now-button:hover{background:#1e40af}
html.dark-mode .hero-background:after{background:rgba(0,0,0,.6)}
html.dark-mode .products{background:#020617}
html.dark-mode .product-card{background:#0b1120}
html.dark-mode .product-description{color:#9ca3af}
html.dark-mode .about{background:linear-gradient(135deg,#020617,#111827)}
html.dark-mode .btn-primary{background:#1d4ed8;color:#e5e7eb}
html.dark-mode .btn-secondary{background:#1d4ed8;border-color:#1d4ed8;color:#fff}
html.dark-mode .btn-secondary:hover{background:#1e40af;border-color:#1e40af}
html.dark-mode .footer{background:#020617;color:#e5e7eb}
html.dark-mode .footer-brand-name .brand-name-red,html.dark-mode .footer-brand-name .brand-name-white{color:#60a5fa}
html.dark-mode .footer-list a,html.dark-mode .footer-legal a{color:#9ca3af}
html.dark-mode .footer-list a:hover,html.dark-mode .footer-legal a:hover{color:#e5e7eb}
html.dark-mode .page-content h1,html.dark-mode .contact-page h1,html.dark-mode .legal-page h2{color:#e5e7eb}
html.dark-mode .page-content p,html.dark-mode .page-content .page-list li,html.dark-mode .contact-page>p{color:#d1d5db}
html.dark-mode .contact-form{background:#020617}
html.dark-mode .form-group label{color:#e5e7eb}
html.dark-mode .form-group input,html.dark-mode .form-group textarea{background:#020617;border-color:#4b5563;color:#e5e7eb}

@media (max-width:768px){
  .menu-toggle{display:block}
  .nav{position:absolute;top:100%;left:0;right:0;background:#fff;flex-direction:column;padding:1rem;box-shadow:0 4px 8px rgba(0,0,0,.1);display:none;gap:1rem;align-items:flex-start}
  .nav.nav-open{display:flex}
  .nav .theme-toggle{margin-left:0;margin-top:.5rem;align-self:flex-start}
  .shop-now-button{padding:.5rem 1rem;font-size:.9rem}
  .hero{min-height:500px}
  .hero-title{font-size:2.4rem}
  .products{padding:3rem 20px}
  .products-grid{grid-template-columns:1fr;gap:1.5rem}
  .product-image-wrapper{height:250px}
  .about{padding:3rem 20px}
  .about-title{font-size:2rem}
  .newsletter-form{flex-direction:column;max-width:100%}
  .footer-content{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;text-align:center}
  .footer-legal{justify-content:center}
}
