:root{
  --orange:#FF7A00;
  --blue:#007BFF;
  --bg:#FFFFFF;
  --muted:#6b6b6b;
  --white:#ffffff00
  --glass: rgba(255,255,255,0.8);
  --card-shadow: rgba(20,20,30,0.06);
}

/* Base reset */
*{box-sizing:border-box}
html,body{height:100%;margin:0;background:var(--bg);color:#111;font-family: "Inter","SF Pro Text","Noto Sans","Microsoft YaHei",Arial,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}

/* Container */
.container{max-width:1100px;margin:0 auto;padding:24px}

/* Topbar */
.topbar{position:fixed;top:0;left:0;right:0;height:64px;background:#fff;z-index:60;border-bottom:1px solid #f3f3f3}
.topbar-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:1100px;margin:0 auto;padding:0 16px;height:64px}
.brand{font-weight:700;color:var(--blue);font-size:18px}

/* Nav */
.nav{display:flex;gap:12px;align-items:center}
.nav-link{padding:8px 12px;border-radius:10px;color:var(--muted);font-weight:600}
.nav-link:hover{background:rgba(0,0,0,0.04);color:#111}
.nav-link.primary{background:var(--orange);color:#fff}
.nav-toggle{display:none}

/* Main */
.main{margin-top:90px;padding-bottom:60px}

/* Hero */
.hero{display:flex;gap:20px;align-items:center;padding:32px;border-radius:14px;background:linear-gradient(135deg, rgba(255,122,0,0.08), rgba(0,123,255,0.04));box-shadow:0 12px 30px var(--card-shadow)}
.hero-text{flex:1;min-width:220px}
.hero h1{margin:0;color:var(--orange);font-size:34px}
.lead{color:var(--muted);margin-top:10px;line-height:1.6}
.hero-image{width:380px;min-width:180px}
.hero-image img{width:100%;height:auto;border-radius:12px;box-shadow:0 14px 40px rgba(20,20,30,0.06)}

/* Buttons */
.btn{display:inline-block;padding:10px 16px;border-radius:10px;font-weight:700}
.btn-primary{background:var(--blue);color:#fff}
.btn-ghost{background:#fff;border:1px solid #e9e9eb;color:var(--muted)}

/* Grid & cards */
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin-top:16px}
.card{background:#fff;padding:16px;border-radius:12px;border:1px solid #f1f1f3;box-shadow:0 10px 24px var(--card-shadow)}
.card h3{margin:0 0 8px}
.muted{color:var(--muted)}

/* Product grid */
.product-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px}
.product-card{background:#fff;border-radius:12px;padding:12px;text-align:center;border:1px solid #f3f3f3;box-shadow:0 10px 24px var(--card-shadow)}
.product-card img{width:100%;height:140px;object-fit:cover;border-radius:10px}
.product-card h4{margin:10px 0 6px}
.buy-button, .product-card button{background:var(--blue);color:#fff;border:0;padding:8px 12px;border-radius:8px;cursor:pointer}
.buy-button:hover, .product-card button:hover{background:#005bb5}

/* Footer */
.footer{margin-top:28px;color:var(--muted);font-size:13px;text-align:center;padding-bottom:40px}

/* Responsive */
@media (max-width:1000px){
  .hero-image{display:none}
  .hero{padding:20px}
}
@media (max-width:768px){
  .nav{display:none}
  .nav-toggle{display:block}
  .nav-toggle{background:#ffffff00;border: 0;font-size:30px;}
  .topbar-inner{padding:0 12px}
  .container{padding:12px}
  .product-card img{height:120px}
  .product-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:480px){
  .hero h1{font-size:22px}
  .product-grid{grid-template-columns:1fr 1fr}
  .product-card img{height:100px}
}

.dashboard {
  margin-top: 100px;
  padding: 20px;
}

.dashboard-nav {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  gap: 10px;
}

.tab {
  border: none;
  padding: 10px 20px;
  background: #f2f2f2;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
}

.tab.active {
  background: #007aff;
  color: #fff;
}

.chart-container {
  position: relative;
  height: 60vh;
  width: 90%;
  margin: 0 auto;
}

.hidden {
  display: none;
}

@media (max-width: 768px) {
  .chart-container {
    height: 50vh;
    width: 100%;
  }
}
/*login*/
