:root{
  /* Modern color palette - cleaner, more refined */
  --bg:#0a0e13;
  --bg-secondary:#0f141a;
  --surface:#151b23;
  --surface-elevated:#1a2129;
  --border:rgba(255,255,255,.06);
  --border-hover:rgba(255,255,255,.12);

  /* Text colors */
  --text-primary:#f8fafc;
  --text-secondary:#94a3b8;
  --text-muted:#64748b;

  /* Accent colors - more sophisticated */
  --accent-primary:#3b82f6;
  --accent-secondary:#8b5cf6;
  --accent-gradient:linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);

  /* Status colors */
  --success:#10b981;
  --warning:#f59e0b;
  --danger:#ef4444;

  /* Shadows - more subtle */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.4);

  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
}

/* Base styles */
*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

html{
  scroll-behavior: smooth;
}

html,body{
  height:100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body{
  margin:0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  background:
    radial-gradient(ellipse 1400px 900px at 10% -5%, rgba(59, 130, 246, 0.08), transparent 50%),
    radial-gradient(ellipse 1200px 800px at 95% 10%, rgba(139, 92, 246, 0.06), transparent 50%),
    var(--bg);
  background-attachment: fixed;
  color:var(--text-primary);
}

a{
  color:inherit;
  text-decoration:none;
  transition: all 0.2s ease;
}

/* Container */
.container{
  max-width:1280px;
  margin:0 auto;
  padding: var(--space-6);
}

@media(max-width: 768px){
  .container{
    padding: var(--space-4);
  }
}

/* Pills & Badges */
.pill{
  display:inline-flex;
  gap: var(--space-2);
  align-items:center;
  padding: var(--space-1) var(--space-3);
  border:1px solid var(--border);
  border-radius: var(--radius-full);
  background:rgba(255,255,255,.02);
  color:var(--text-secondary);
  font-size:12px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
}

.pill:hover{
  background:rgba(255,255,255,.04);
  border-color: var(--border-hover);
}

.badges{
  display:flex;
  flex-wrap:wrap;
  gap: var(--space-2);
}

.nav{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(12px);
  background: rgba(11,15,20,.75);
  border-bottom:1px solid var(--border);
}
.nav-inner{display:flex; align-items:center; justify-content:space-between; gap:14px}
.brand{
  display:flex; gap:10px; align-items:center;
  font-weight:700; letter-spacing:.2px
}
.brand-mark{
  width:34px; height:34px; border-radius:12px;
  background: linear-gradient(135deg, rgba(110,231,255,.9), rgba(124,58,237,.85));
  box-shadow: var(--shadow);
}
.nav-links{display:flex; gap:14px; align-items:center; flex-wrap:wrap}
.nav-links a{color:var(--muted); font-size:14px; padding:8px 10px; border-radius:12px}
.nav-links a:hover{background:rgba(255,255,255,.04); color:var(--text)}
.nav-right{display:flex; gap:10px; align-items:center}

.btn{
  display:inline-flex; justify-content:center; align-items:center; gap:8px;
  border-radius:14px;
  border:1px solid var(--border);
  padding:10px 12px;
  background: rgba(255,255,255,.03);
  color:var(--text);
  cursor:pointer;
  font-weight:600;
}
.btn:hover{background:rgba(255,255,255,.06)}
.btn.primary{
  background: linear-gradient(135deg, rgba(110,231,255,.22), rgba(124,58,237,.18));
  border-color: rgba(110,231,255,.35);
}
.btn.danger{border-color: rgba(255,93,93,.35); color:#ffd0d0}
.btn.block{width:100%}
.small{font-size:13px; color:var(--muted)}
.muted{color:var(--muted)}
.hr{height:1px; background:var(--border); margin:16px 0}

.hero{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  padding:26px;
  border:1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  box-shadow: var(--shadow);
}
@media(max-width: 900px){ .hero{grid-template-columns:1fr} }

.h1{font-size:42px; line-height:1.05; margin:0 0 10px}
.h2{font-size:28px; margin:0 0 10px}
.card{
  border:1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(17,26,37,.72);
  box-shadow: var(--shadow);
}
.card-pad{padding:18px}
.grid{
  display:grid;
  gap:14px;
  grid-template-columns: repeat(3, minmax(0,1fr));
}
@media(max-width: 980px){ .grid{grid-template-columns: repeat(2,minmax(0,1fr));}}
@media(max-width: 620px){ .grid{grid-template-columns:1fr;} }

.product{
  display:flex; flex-direction:column; overflow:hidden;
}
.product .img{
  height:170px;
  background: rgba(255,255,255,.03);
  border-bottom:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
}
.product img{max-height:140px; max-width:90%; object-fit:contain; filter: drop-shadow(0 12px 22px rgba(0,0,0,.35));}
.product .body{padding:14px}
.product .title{font-weight:700; margin:0 0 6px}
.product .meta{display:flex; justify-content:space-between; gap:10px; align-items:center; color:var(--muted); font-size:13px}
.price{font-size:18px; font-weight:800}
select,input{
  width:100%;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.25);
  color:var(--text);
  outline:none;
}
label{display:block; font-size:13px; color:var(--muted); margin:10px 0 6px}
.row{display:grid; grid-template-columns: 1fr 1fr; gap:12px}
@media(max-width:620px){ .row{grid-template-columns:1fr} }

.table{
  width:100%;
  border-collapse:collapse;
  overflow:hidden;
  border-radius: var(--radius);
  border:1px solid var(--border);
}
.table th,.table td{
  text-align:left;
  padding:12px 12px;
  border-bottom:1px solid var(--border);
  font-size:14px;
}
.table th{color:var(--muted); font-weight:600; background: rgba(255,255,255,.03)}
.table tr:last-child td{border-bottom:none}

.notice{
  padding:12px 14px;
  border-radius: 14px;
  border:1px solid rgba(110,231,255,.25);
  background: rgba(110,231,255,.08);
  color: #d7fbff;
  font-size:14px;
}
.notice.warn{
  border-color: rgba(255,93,93,.25);
  background: rgba(255,93,93,.08);
  color: #ffd0d0;
}
.footer{padding:22px 0; color:var(--muted); font-size:13px}
